how a bout,
# ICMP packets
${fwcmd} add pass icmp from any to any via ${iif}
${fwcmd} add pass icmp from any to any via ${iifx}
${fwcmd} add pass icmp from any to...