Added option to use ipv4-rules instead of mac addresses