public boolean removeRule(int rnum, boolean dynamic){
		Vector<NAT_rule> rules = static_rules;
		if(dynamic) rules = dynamic_rules;
		if(rnum>=0 && rnum<rules.size()){
			rules.remove(rnum);
			return true;
		}
		return false;
	}