Setup rubocop.

Closes #702.
Which cop complained about this?