Schema: added rule table. added more default groups

Also fixed a small bug in watch controller.