String valueString = jsonComparison.get("value").toString();
expression = new ExpressionConstantImpl(valueString);
}
if( JSONSupport.containsKey(jsonComparison, "variable") ) {
String valueString = jsonComparison.get("variable").toString();
expression = new ExpressionVariableImpl(valueString);
}
String comparisonName = jsonComparison.getString("comparison");
Comparison selectedComparison = null;
for(Comparison comparison : Comparison.values()) {