in current trunk it is possible to add dependency from template trigger to a host trigger. it is an accidental change, and it is not known whether server will operate properly this way. it should be decided whether this is allowed - if it is, it would solve
ZBXNEXT-835 (and should be documented)
if not, this should be prevented.