Add support for interface rules

Not much error handling ;)