Except as otherwise provided by this title and the laws relating to the regulation of surety companies, all matters relating to the fixing, posting, forfeiting, exoneration and distribution of bail and recognizances shall be governed by general rules.