/*
* Add the query parameter condition to the condition tree that will capture a
* corresponding query parameter. We must make sure that
* the condition is evaluated even if the existing part of the tree evaluates to true.
*/
Condition requestParameter = RequestParameter.matches(param, "{" + param + "}");
ConditionBuilder composite = context.getRuleBuilder().getConditionBuilder().and(
Or.any(requestParameter, new True()));
context.getRuleBuilder().when(composite);
// builder for this parameter