add rank merge function, will merge ChannelProduct ranks into Product