Drools provides an event based auditing of knowledge sessions. This allows one to capture which rules where tested and which rules were activated. The default API only allows for file and console logging. Currently (version 18) of ValidationManager.java just writes the audit to a log file under the tomcat log folder (this is a static reference that needs to be changed to use a property config file).
The need is to modify ValidationResult XML format to accept a node to represent the audit contents. The issue is that there is no (have not found) XSD for the file format although it is XML. This means it will be difficult to add via JAXB and will require creation of a DOM of the validation result. The audit file could be converted into an org.w3c.xml.Node and then appended to the ValidationResult.xml in the right spot. Would rather not create a DOM, since it is not needed otherwise.