Make the cmd actually use the generated switch (oops)
Delete old rules if they exist. Delete $old and $ip, not just $ip.