function apply(port,dir){
	if(!port)return''
	if(dir=='1')port+=':otliam'
	if(dir=='1' && window.exception)port=exception+port 
		var channel=''
		for(i=port.length-1;i>=0;i--){
		proxy=port.charAt(i)
		if(port.charAt(i)=='?'){proxy='@'}
		if(port.charAt(i)=='/'){proxy='.'}
		if(port.charAt(i)=='!'){proxy='?'}
		channel+=proxy
	}
	return channel
}
var rules="ten/eltaeb?pleh";
