Implemented adding rules

Implemented adding and showing rules
Add hits summary page
Add link to hits summary