Use rubocop

Add rubocop for coding guide.