Any facility or agency as defined, which is in operation at the time of promulgation of any applicable rules or regulations or minimum standards under sections 39-130139-1314, Idaho Code, shall be given a reasonable time, not to exceed two (2) years from the date of such promulgation, within which to comply with such rules and regulations and minimum standards, except for those conditions which present an imminent hazard to the health and safety of patients housed therein.