Fix error preventing rules rebuild when duplicating an interface.