split eslint.define into eslint.defineRule and eslint.defineRules