Added a whole new library to support the Groovy script
Cleaned up the code by removing legacy XML-based rules and replacing with Groovy-based/support code
Cleaned up the code by removing legacy XML-based rules and replacing with Groovy-based/support code
Modified the test code to test the new groovy-based logic