public static Expression <Func <TEntity, bool> > ToExpression <TEntity>(this FilterRule rule) { return(FilterHelper.GetExpression <TEntity>(rule)); }