// context : Context( state == Context.PRINT_RESULTS )
// -----------
final Pattern contextPattern = new Pattern( 0,
this.contextType );
contextPattern.addConstraint( getLiteralConstraint( contextPattern,
"state",
Context.PRINT_RESULTS ) );
rule.addPattern( contextPattern );
final Declaration contextDeclaration = rule.getDeclaration( "context" );