simplify test rules