add rubocop rules, fix missing comma in spec