[COOK-3927] Substitute Perl version of rebuild-iptables with Ruby version