Added support for conditions. Still need to pass UAT.
Have conditions working, after fighting a very painful tomcat bug for a while.

UAT for conditional rules is passing.