Corrected logging.  Added EMERGRULES config pram