Refactoring and documentation.
Drools bean refactored and listener added.
Refactoring and documentation.