Test rules in the correct order