'Get effective patterns for this rebulk object and its children.
:param context:
:type context:
:return:
:rtype:'

def effective_patterns(self, context=None):

    patterns = list(self._patterns)
    for rebulk in self._rebulks:
        if (not rebulk.disabled(context)):
            extend_safe(patterns, rebulk._patterns)
    return patterns
