Fixed syntax rules with rubocop