need a way to repeat the same rules for numExpr and boolExpr