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

            rules = new List<Rule>();
        }
 public static Expression FromLinq(Linq.Expression linqExpression)
 {
     LinqParser parser = new LinqParser(linqExpression);
     return parser.Result;
 }