Bug 1056610 - Migrate snippets for preferences in rule create-default-data into preferences.js r=gduan