The proceedings shall be assimilated to those in an action, so far as practicable, but shall be under the control and direction of the court, which shall have all the powers of the district court necessary to the right hearing and determination of the matter, to compel the attendance of witnesses, swear them and direct their examination, to punish for contempt in its presence or by disobedience to its lawful mandate, to adjourn from day to day, to make any order concerning intermediate costs, and to enforce its orders by attachment. It shall be governed by the rules of law and evidence applicable to the case.
Iowa Code § 62.13