code: protected boolean evaluateCondition( String script, Log log )
          throws EnforcerRuleException
      {
          Boolean evaluation = Boolean.FALSE;
          try
          {
              evaluation = (Boolean) bsh.eval( script );
              log.debug( "Echo evaluating : " + evaluation );
          }
          catch ( EvalError ex )
          {
              throw new EnforcerRuleException( "Couldn't evaluate condition: " + script, ex );
          }
          return evaluation.booleanValue();
      }
docs: Evaluate expression using Beanshell.
  
  @param script the expression to be evaluated
  @param log the logger
  @return boolean the evaluation of the expression
  @throws EnforcerRuleException if the script could not be evaluated