add rule check test