Any person interested in an oral or written contract, or a will, or whose rights, status or other legal relations are affected by any statute, municipal ordinance, rule, regulation, contract or franchise, may have any question of the construction or validity thereof or arising thereunder determined, and obtain a declaration of rights, status or legal relations thereunder.
Iowa. R. Civ. P. 1.1102