Use mongo to store and retrieve rulesets