Arrays.fill(context.getStackFrame().getStackFrameValues(), null);
return new NextMatchPackage(rule, params, tunnels, context);
} else {
Template nh = rule.getAction();
XPathContextMajor c2 = context.newContext();
c2.openStackFrame(nh.getStackFrameMap());
c2.setLocalParameters(params);
c2.setTunnelParameters(tunnels);
c2.setCurrentTemplateRule(rule);
nh.apply(c2);
}