Adjust project's trait field id based on the mapping from input to output.   Output Rel and Logicl Rel for debug purpose.