def METHOD_NAME(self):
    embed_rules = {}
    link_rules = {}
    for rule in self.converter_rules:
        if isinstance(rule, EmbedTypeRule):
            embed_rules[rule.embed_type] = rule.handler.expand_db_attributes
        elif isinstance(rule, LinkTypeRule):
            link_rules[rule.link_type] = rule.handler.expand_db_attributes
    return MultiRuleRewriter([LinkRewriter(link_rules), EmbedRewriter(embed_rules)])