Fix RulesTest to not use a mocked rule for the test.