code: def _SetYaraRules(self, yara_rules_string):
      
      if not yara_rules_string:
        return
  
      analyzer_object = analyzers_manager.AnalyzersManager.GetAnalyzerInstance(
          'yara')
      analyzer_object.SetRules(yara_rules_string)
      self._analyzers.append(analyzer_object)
docs: Sets the Yara rules.
  
      Args:
        yara_rules_string (str): unparsed Yara rule definitions.