Implementation for Rulestore API.