fixing "find" test in Rules