Is there an easy way to access information about the currently executing
rule (e.g. Name, salience, group) within a rule consequence? E.g.
rule "Sample Rule"
salience = 100
when
$v : Fact(name == "Test")
then
System.out.println("The currently executing rule is " +
<???>.getName());
end
I could copy the name into the print but of course then I have it in two
places I need to keep in sync. I know I can get the full log but that's
not what I'm interested in.
-Russ