Added guard-rubocop.
Fixed some rubocop inconsistencies.