disallow dim2 rewriting functions with empty list in any dimension
(the right way is to use an empty parser)