Get all rules
sligotri opened this issue · 1 comments
sligotri commented
Is there a way to retrieve all rules that have been added to a rule book? Something like rulebook.getRules() ? Should I just extend CoRRuleBook and implement my own?
Clayton7510 commented
There is no way to get all rules since the rules are linked together in a chain using Chain of Responsibility Pattern, currently. However, as you pointed out, you could implement your own RuleBook.
You can get a list of all the rule names and their statuses using an Auditor.