Whereas org.drools.rule.Rule contains a wealth of interesting fields,
the stable API org.drools.definition.rule.Rule restricts us to
getName() and getPackageName() (and some MetaData - whatever that
might be).
I'd opt for an extension of this interface, providing access to
agendaGroup, activationGroup and ruleFlowGroup. I see no obvious
reason why these user defined attributes should remain hidden.
These rule attributes would provide a good opportunity for writing
more sophisticated event loggers, letting you specify rule filters by
natural rule groupings.
Cheers
-W
Show replies by date