added boolean operators to notification rules