The Twig logic and operators