diff --git a/Shorewall/Perl/Shorewall/Chains.pm b/Shorewall/Perl/Shorewall/Chains.pm
index e2d4afb..33cbd94 100644
--- a/Shorewall/Perl/Shorewall/Chains.pm
+++ b/Shorewall/Perl/Shorewall/Chains.pm
@@ -5019,7 +5019,7 @@ sub expand_rule( $$$$$$$$$$;$ )
 				       'add',
 				       $matches );
 			
-			$rulecount = add_rule( $fromref = $chainref, $matches . $jump );
+			$rulecount = add_counted_rule( $fromref = $chainref, $matches . $jump );
 		    } else {
 			#
 			# Find/Create a chain that both logs and applies the target action
