docs: def chain(self, **kwargs):
          """
          Add patterns chain, using configuration of this rebulk
  
          :param pattern:
          :type pattern:
          :param kwargs:
          :type kwargs:
          :return:
          :rtype:
          """
          chain = self.build_chain(**kwargs)
          self._patterns.append(chain)
          return chain