Adds rules parsing and displaying
Handles rules, updates view