code: def get_ruleset_file(ruleset=None):
      
      ruleset = ruleset or "default"
  
      ruleset_dirs = get_ruleset_dirs()
      for ruleset_directory in ruleset_dirs:
          possible_ruleset_files = [os.path.join(ruleset_directory, ruleset + ext) for ext in EXTS]
  
          for ruleset_file in possible_ruleset_files:
              if os.path.isfile(ruleset_file):
                  logger.debug("Ruleset file '{}' found.".format(ruleset_file))
                  return ruleset_file
  
      logger.warning("Ruleset with the name '{}' cannot be found at '{}'."
                     .format(ruleset, ruleset_dirs))
      raise ColinRulesetException("Ruleset with the name '{}' cannot be found.".format(ruleset))
docs: Get the ruleset file from name
  
      :param ruleset: str
      :return: str