Added GetAllRules