Add support for mac address source rules pt2

PR #334 was not complete. I've added type definition.