code: def load(self, rule_type, quiet = False):
          
          if self.filename and os.path.exists(self.filename):
              try:
                  with open(self.filename, 'rt') as f:
                      ruleset = json.load(f)
                      self.about = ruleset['about'] if 'about' in ruleset else ''
                      self.rules = {}
                      for filename in ruleset['rules']:
                          self.rules[filename] = []
                          for rule in ruleset['rules'][filename]:
                              self.handle_rule_versions(filename, rule_type, rule)
              except Exception as e:
                  printException(e)
                  printError('Error: ruleset file %s contains malformed JSON.' % self.filename)
                  self.rules = []
                  self.about = ''
          else:
              self.rules = []
              if not quiet:
                  printError('Error: the file %s does not exist.' % self.filename)
docs: Open a JSON file definiting a ruleset and load it into a Ruleset object
  
          :param quiet:
          :return: