// DuplicateForEachColumnRewrite set
// This insert Identity UDF in the case foreach duplicate field.
// This is because we need unique uid through out the plan
Set<Rule> s = new HashSet<Rule>();
Rule r = new DuplicateForEachColumnRewrite("DuplicateForEachColumnRewrite");
checkAndAddRule(s, r);
if (!s.isEmpty())
ls.add(s);
// ImplicitSplitInserter set