Do a logical walkthrough:
Rule 1 =
action: drop
traffic direction: egress
protocol is icmp
source ip address any
destination is no x.x.x.254
first action: drop
direction = egress
protocol = icmp
source ip = any
destination is everything EXCEPT x.x.x.254
so this rule drops ALL icmp EXCEPT to x.x.x.254