A......... [ZBX-7981] code refactoring in drule.update