def METHOD_NAME(self) -> None:
    """Called after the RuleSet is parsed."""
    # Build a set of the class names that have been updated
    class_type = SelectorType.CLASS
    id_type = SelectorType.ID
    type_type = SelectorType.TYPE
    universal_type = SelectorType.UNIVERSAL
    update_selectors = self.selector_names.update
    for selector_set in self.selector_set:
        update_selectors(
            "*"
            for selector in selector_set.selectors
            if selector.type == universal_type
        )
        update_selectors(
            selector.name
            for selector in selector_set.selectors
            if selector.type == type_type
        )
        update_selectors(
            f".{selector.name}"
            for selector in selector_set.selectors
            if selector.type == class_type
        )
        update_selectors(
            f"#{selector.name}"
            for selector in selector_set.selectors
            if selector.type == id_type
        )
        update_selectors(
            f":{pseudo_class}"
            for selector in selector_set.selectors
            for pseudo_class in selector.pseudo_classes
        )