implemented policies in PolicyAlarm