'add rules iptable by type plugins'

def optionsRules(self, type):

    search = {'sslstrip': str((('iptables    -t    nat    -A    PREROUTING    -p    tcp' + '    --destination-port    80    -j    REDIRECT    --to-port    ') + self.FSettings.redirectport.text())), 'dns2proxy': str('iptables    -t    nat    -A    PREROUTING    -p    udp    --destination-port    53    -j    REDIRECT    --to-port    53'), 'bdfproxy': str('iptables    -t    nat    -A    PREROUTING    -p    tcp    --destination-port    80    -j    REDIRECT    --to-port    8080'), 'PumpkinProxy': str('iptables    -t    nat    -A    PREROUTING    -p    tcp    --destination-port    80    -j    REDIRECT    --to-port    8080')}
    return search[type]
