Domain Restrictions for Rational Expressions