Added visualization for rules