We've got a web app that takes in lots of request params then invoke drools rules. I've got an event listener to capture what rule name is fired. However, I'd like to have a link to each of the rule that gets fired to point to the actual implementation of the rule. Is this possible?

Do I have to parse the .drl files and build a map of rule name to rule content? or pre-processing each rule name in a separate file name etc..? is there anything Drools API that given the name of the rule, it gives the content of the rule?

Any input is appreciated.

Thanks & regards
voki