[OPTIQ-407] RemoveTrivialProjectRule drops child node's traits