Improve displaying rules