........S. [ZBXNEXT-581] formatting issues; added "port" into an field list; added sorting of rules array