code: def handle_rule_versions(self, filename, rule_type, rule):
          
          if 'versions' in rule:
              versions = rule.pop('versions')
              for version_key_suffix in versions:
                  version = versions[version_key_suffix]
                  version['key_suffix'] = version_key_suffix
                  tmp_rule = dict(rule, **version)
                  self.rules[filename].append(Rule(filename, rule_type, tmp_rule))
          else:
              self.rules[filename].append(Rule(filename, rule_type, rule))
docs: For each version of a rule found in the ruleset, append a new Rule object