apply diversity rule to rcmd results