Refactoring to use foodcritic --search-gem for rules resolution