lhs.addDescr( pattern );
pattern.addConstraint( new FieldBindingDescr( "type", "$type" ) );
pattern = new PatternDescr( "query1" );
lhs.addDescr( pattern );
pattern.addConstraint( new LiteralDescr( "bobba",
LiteralDescr.TYPE_STRING ) );
pattern.addConstraint( new VariableDescr( "$age" ) );
pattern.addConstraint( new VariableDescr( "$type" ) );
ruleDescr.setConsequence( "System.out.println(\"age: \" + $age);" );