Fixing test for rule validity