Rule based output port