public RuleCollection(ILinqMethodScope linqMethods = null)
        {
            linqParser = new LinqParser(linqMethods);
            parser = new Parser();

            rules = new List<Rule>();
        }
 public static Expression FromString(string expr)
 {
     Parser parser = new Parser(expr);
     return parser.Result;
 }