Implemented method to get rules by type
Implemented rules visualization