fix rule counter bug (reported by  James Sinclair): possible wrong initialization of counters
diff --git a/communication.c b/communication.c
index 0917f6e..f19bda4 100644
--- a/communication.c
+++ b/communication.c
@@ -309,6 +309,7 @@
 	new = newcounters;
 	while (cc != u_repl->cc) {
 		if (!next || next == entries->entries) {
+			chainnr++;
 			while (chainnr < u_repl->num_chains && (!(entries = u_repl->chains[chainnr]) ||
 			       (next = entries->entries->next) == entries->entries))
 				chainnr++;