Notifications added. Rules file management added.  Fix for minor issue with apply/discard.