fix rule for defining the domain for size