Made TextDomain overwritable for rules