XMLProcess process = rule.createProcess(dynamicProcess,
eName,
createStartElementAttributes());
// add a process to the head of the pipeline
pipeline.addHeadProcess(process);
// call end element on the rule
rule.endElement(dynamicProcess, eName, process);
// ensure that the process was removed from the pipeline