Updated add rule tester