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