Add rule notification support to ip monitor

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
diff --git a/ip/ipmonitor.c b/ip/ipmonitor.c
index 50b6327..704ada7 100644
--- a/ip/ipmonitor.c
+++ b/ip/ipmonitor.c
@@ -62,6 +62,10 @@
 		print_prefix(who, n, arg);
 		return 0;
 	}
+	if (n->nlmsg_type == RTM_NEWRULE || n->nlmsg_type == RTM_DELRULE) {
+		print_rule(who, n, arg);
+		return 0;
+	}
 	if (n->nlmsg_type == 15) {
 		char *tstr;
 		time_t secs = ((__u32*)NLMSG_DATA(n))[0];