Principles of Holism for Sequential Twig Pattern Matching