Why not just use static DHCP assignments for those two devices, create an alias with both ips and then use this alias in a firewall rules as source?