Import Rails cops from RuboCop Core ยท rubocop-hq/rubocop-rails@12e0d02

These are committing parts that were not picked up by `git cherry-pick` from RuboCop Core.