In a contested proceeding, pretrial motions are governed by the rules that are applicable in civil actions in circuit court.