code: @SafeVarargs
      public static <S, E extends Event> InputMapTemplate<S, E> sequence(InputMapTemplate<S, ? extends E>... templates) {
          return new TemplateChain<>(templates);
      }
docs: Creates a single InputMapTemplate that pattern matches a given event type against all the given
  InputMapTemplates. This is often the InputMapTemplate installed on a given node since it contains all
  the other InputMapTemplates.