pub fn write_rule_db_to(dir: &Path, db: &RuleDb)
Write the canonical rule database as a wrapped JSON object.