add enable switch to rules to handle mutliple rules for same sensor/hook