Restrict rubocop version to 0.23

Need to figure out whet is needed for 0.24