Fixed rubocop warnings in fog/core folder