rm RuleCache, add spec