Revert "RuleRepositoryTestHelper is back"

This reverts commit 3f42ac85a4495333dbe76e1b1587ea05b7d900a4.