Apply Rubocop rules

https://github.com/bbatsov/rubocop