added accessor method for rules