The validity or applicability of a rule may be determined in an action for declaratory judgment in the manner prescribed by Kan. Stat. Ann. § 77-434, and amendments thereto.