Switch to rm_lock for the rulesets.