def METHOD_NAME(self, context=None):
    """
    Get effective patterns for this rebulk object and its children.
    :param context:
    :type context:
    :return:
    :rtype:
    """
    patterns = list(self._patterns)
    for rebulk in self._rebulks:
        if not rebulk.disabled(context):
            extend_safe(patterns, rebulk._patterns)
    return patterns