A......... [ZBX-7981] optimized hostgroup.create method to get all group names in one query; minor code refactoring in drule