code: def get_corrected_commands(command):
      
      corrected_commands = (
          corrected for rule in get_rules()
          if rule.is_match(command)
          for corrected in rule.get_corrected_commands(command))
      return organize_commands(corrected_commands)
docs: Returns generator with sorted and unique corrected commands.
  
      :type command: thefuck.types.Command
      :rtype: Iterable[thefuck.types.CorrectedCommand]