Added a function that list all rules