(2)The bond shall be in the form contained in Schedule II and the provisions of the Code of Criminal Procedure, 1898 (Central Act 5 of 1898) shall, in so far as they are applicable, apply to all matters connected with such bond as if it were a bond to keep the peace ordered to be executed under Section 106 of the said Code.