At the hearing the court shall have power and jurisdiction to examine into and determine all matters and things affecting the question submitted, and shall make findings with reference thereto, and render judgment and decree thereon as the case warrants. Costs may be divided or apportioned among any contesting parties in the discretion of the trial court. Review of the judgment of the court may be had as in other civil action. The Rules of Civil Procedure shall govern in matters of pleading and practice where not otherwise specified. The court shall disregard any error, irregularity or omission which does not affect the substantial rights of the parties. The provisions of Section [Sections] 3-27-6 and 3-27-7 NMSA 1978, shall apply to contracts entered into pursuant to the provisions of Section 3-27-5 NMSA 1978.
NMS § 3-27-7