Not less than three weeks before applying to the court for his rehabilitation an insolvent shall furnish to the registrar of the court security, to the amount or value of R500, for the payment of the costs of any person who may oppose the rehabilitation and be awarded costs by the court.