class_docstr: Tests for shared/rule_table.py
docstr: Rule Table - Create mock table and rules
code: def setup(self):
      """Rule Table - Create mock table and rules"""
      # pylint: disable=attribute-defined-outside-init
      self.dynamo_mock = mock_dynamodb2()
      self.dynamo_mock.start()
      setup_mock_rules_table(_RULES_TABLE)
      self.rule_table = rule_table.RuleTable(_RULES_TABLE)
  
imports: from datetime import datetime
  import os
  from io import StringIO
  from botocore.exceptions import ClientError
  from mock import Mock, patch
  from moto import mock_dynamodb2
  from nose.tools import assert_equal, assert_not_equal, assert_raises
  from streamalert.shared import rule, rule_table
  from tests.unit.helpers.aws_mocks import setup_mock_rules_table
label_desc: Use image node_id 1 for calling the TestRuleTable obj's underlying member method code with example usage: obj.setup() without return types