moved rule declaration to global.js