class_docstr: Run queries to generate statistics on alerts.
docstr: Returns a list of rules that are eligible for promotion
docstr_tok: ["Returns","a","list","of","rules","that","are","eligible","for","promotion"]
code: def _rules_to_be_promoted(self):
      """Returns a list of rules that are eligible for promotion"""
      return [
          rule
          for rule, stat in self._staging_stats.items()
          if self._current_time > stat.staged_until
          and stat.alert_count == 0
      ]
  
file_path: streamalert/streamalert/rule_promotion/promoter.py
imports: from datetime import datetime
  from streamalert.rule_promotion.publisher import StatsPublisher
  from streamalert.rule_promotion.statistic import StagingStatistic
  from streamalert.shared.utils import get_database_name
  from streamalert.shared.athena import AthenaClient
  from streamalert.shared.config import load_config
  from streamalert.shared.logger import get_logger
  from streamalert.shared.rule_table import RuleTable
label_desc: Use image node_id 6 for calling the RulePromoter obj's underlying member method code with example usage: obj._rules_to_be_promoted() and returns: unknown