All bail taken under this chapter shall be special bail and the power of the security over the principal shall be the same as in special bail. Upon the failure to appear of any principal, in any bond or recognizance given by a person charged with a violation of any provision of this Code or any ordinance of the city, or of any offense over which the municipal court has jurisdiction, or by a witness to appear and testify, the judge of the municipal court shall pass a rule requiring the principal and sureties on such bond to show cause on any day therein name, not to be less than ten days from the passage of such rule, why they should not be required to pay the amount of such bond. A copy of such rule shall be served upon the principal of the sureties, by any officer or member of the police force, if found in the city, at least five days before the time therein set for hearing the same.