Setup rubocop.

Closes #702.
Part of me feels `or` makes more semantic sense here.