Firewalld task got failed

Can someone reply what went wrong ??

You added both vice-versa condition in firewall. I think task language is different. ip addr 172.16 should be allow to 8087 and rest will be block so you have to add only 172.16 ip addr in rich rules.