Revert "loosen restriction on rubocop version"

This reverts commit b1f81a4b91a5b7775eca999ea83cc9f12e20cecb.