Simplify domain matching