Move code to generate rules for adding a new port to a VLAN to common function.
Move code to generate rules for adding a new port to a VLAN to common function.

asmltd/faucet,REANNZ/faucet,Bairdo/faucet,REANNZ/faucet,isomer/faucet,anarkiwi/faucet,shivarammysore/faucet,faucetsdn/faucet,trentindav/faucet,trungdtbk/faucet,anarkiwi/faucet,mwutzke/faucet,trentindav/faucet,mwutzke/faucet,asmltd/faucet,faucetsdn/faucet,gwacter/faucet,gizmoguy/faucet,asmltd/faucet,asmltd/faucet,byllyfish/faucet,wackerly/faucet,trungdtbk/faucet,Bairdo/faucet,byllyfish/faucet,shivarammysore/faucet,asmltd/faucet,isomer/faucet,gizmoguy/faucet,gwacter/faucet,wackerly/faucet