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

970~976 is moved to `preferences.js`