If, by express or implied terms of a statute, a state agency has authority to adopt regulations to implement, interpret, make specific or otherwise carry out the provisions of the statute, a regulation adopted is not valid or effective unless consistent with the statute and reasonably necessary to carry out the purpose of the statute.