Modified file-level rules handling to follow jshint-style specificity.