(2) The costs to be allowed in all such cases shall be the same as allowed according to the rules of the court.