Add Rule class
Change constructors in application and badge
Add Event class