........S. [ZBXNEXT-1229] improved processing of trigger prototypes:

before:
 - each trigger prototype was processed separately

after
 - all trigger prototypes are processed together