Set <Rule> s = new HashSet<Rule>();
// add constant calculator rule
Rule r = new FilterConstantCalculator("ConstantCalculator", pc);
checkAndAddRule(s, r);
ls.add(s);
r = new ForEachConstantCalculator("ConstantCalculator", pc);
checkAndAddRule(s, r);
ls.add(s);
// TypeCastInserter set
// This set of rules Insert Foreach dedicated for casting after load