def METHOD_NAME(self, context: RuleContext) -> List[LintResult]:
    """Top-level statements should not be wrapped in brackets."""
    # Because of the root_only_crawler, this can control its own
    # crawling behaviour.
    results = []
    for parent, bracketed_segment in self._iter_bracketed_statements(
        context.segment
    ):
        self.logger.debug("Evaluating %s in %s", bracketed_segment, parent)
        # Replace the bracketed segment with it's
        # children, excluding the bracket symbols.
        bracket_set = {"start_bracket", "end_bracket"}
        filtered_children = Segments(
            *[
                segment
                for segment in bracketed_segment.segments
                if segment.get_type() not in bracket_set and not segment.is_meta
            ]
        )
        # Lift leading/trailing whitespace and inline comments to the
        # segment above. This avoids introducing a parse error (ANSI and other
        # dialects generally don't allow this at lower levels of the parse
        # tree).
        to_lift_predicate = sp.or_(sp.is_whitespace(), sp.is_type("inline_comment"))
        leading = filtered_children.select(loop_while=to_lift_predicate)
        self.logger.debug("Leading: %s", leading)
        trailing = (
            filtered_children.reversed()
            .select(loop_while=to_lift_predicate)
            .reversed()
        )
        self.logger.debug("Trailing: %s", trailing)
        lift_nodes = set(leading + trailing)
        fixes = []
        if lift_nodes:
            fixes.append(LintFix.create_before(parent, list(leading)))
            fixes.append(LintFix.create_after(parent, list(trailing)))
            fixes.extend([LintFix.delete(segment) for segment in lift_nodes])
            filtered_children = filtered_children[len(leading) : -len(trailing)]
        fixes.append(
            LintFix.replace(
                bracketed_segment,
                filtered_children,
            )
        )
        results.append(LintResult(anchor=bracketed_segment, fixes=fixes))
    return results