What defines delivery ticket?
Ticket type, ticket tag, ticket state, entity?
Need more info.
Check the template help on ticket templates, most tags there work as constraints when used correctly, you can type constraints not listed in drop down, drop down is used constraints relative to that rule event.