return rewrite;
}
private OMElement serializeRule(RewriteRule r) throws EvaluatorException {
OMElement rule = fac.createOMElement("rewriterule", synNS);
Evaluator condition = r.getCondition();
if (condition != null) {
OMElement conditionElt = fac.createOMElement("condition", synNS);
EvaluatorSerializer serializer = EvaluatorSerializerFinder.getInstance().
getSerializer(condition.getName());
serializer.serialize(conditionElt, condition);
rule.addChild(conditionElt);
}
List<RewriteAction> actions = r.getActions();