rule testing