Perhaps the comparison problem is related to the bug reported by Len. See the thread named, "boolean == String". http://jira.jboss.org/jira/browse/JBRULES-1451