'Add patterns chain, using configuration of this rebulk
:param pattern:
:type pattern:
:param kwargs:
:type kwargs:
:return:
:rtype:'

def chain(self, **kwargs):

    chain = self.build_chain(**kwargs)
    self._patterns.append(chain)
    return chain
