This is a way to get the list of rules.