I would suggest everyone go read CA’s guide to the Mass at
catholic.com/library/liturgy/cag_changes.asp

I love the rosary. Our holy blessed pope, JPII, loves the Rosary and added the Luminous mysteries. This is what JPII said about the use of the Rosary in ROSARIUM VIRGINIS MARIAE:
“In effect, the Rosary is simply a method of contemplation. As a method, it serves as a means to an end and cannot become an end in itself. All the same, as the fruit of centuries of experience, this method should not be undervalued. In its favour one could cite the experience of countless Saints”
and
“There are some who think that the centrality of the Liturgy, rightly stressed by the Second Vatican Ecumenical Council, necessarily entails giving lesser importance to the Rosary. Yet, as Pope Paul VI made clear, not only does this prayer not conflict with the Liturgy, it sustains it, since it serves as an excellent introduction and a faithful echo of the Liturgy, enabling people to participate fully and interiorly in it and to reap its fruits in their daily lives."

I just love our current pope
From my understanding, the Rosary is used as a popular substitute to the Liturgy of the Hours. However the CCC says “This form of Prayerful reflection is of great value. But the Christian prayer should go further: to the knowledge of the love of the Lord Jesus, to union with Him.” (ccc 2708). and the Catholic union with Christ is our FULL participation of the Mass (ccc 1140). But I don’t find a specific CCC that restricts Rosary during Mass. From the above In Cathedra, since the Rosary echos Liturgy as a compendium, it seems Mass trumps Rosary. Maybe you could refer me to those Apostolic Letters/encyclicals from X or XII? Then I can go and over to the AskAnApologist Forum.