........S. [ZBXNEXT-581] use binary search to find rule by templatedid