Where a petition or application for leave to proceed with an action or proceeding against a company which is being wound up in Scotland is unopposed and is granted by the court, the costs of the petition or application shall, unless the court otherwise directs, be added to the amount of the petitioner's or applicant's claim against the company.