Unit test for RuleExtractorHelper.
Fixed unit test.