title: iptables delete rule by comment text?
body: <p>I want to delete a specific IPTable rule by searching for its specific comments.</p>
  
  <p>If I add a rule using:</p>
  
  <p><code>iptables -I INPUT -p udp -s xxx.xxx.xxx.xx -j DROP -m comment --comment 'DROP RULE'</code></p>
  
  <p>How do I find the rule and then delete it but based on the comments ?</p>
  
  <p><code>iptables -L --line-number | grep -i 'drop rule'</code></p>
  
  <p>Should show the full rule, is there any way to get the line number and pass that to <code>iptables -D INPUT x</code> ?</p>
  
  <p>Thanks</p>