Preheat oven to 350 degrees F (175 degrees C). Grease a 9x13-inch baking dish.
Spread rice and garlic in the bottom of the prepared baking dish. Pour chicken broth and wine over rice mixture.
Brush chicken breasts evenly with mayonnaise; sprinkle rosemary, salt, and pepper over each coated chicken breast. Arrange chicken breasts carefully atop the rice mixture.
Bake in the preheated oven until no longer pink in the center and the juices run clear, at least 1 hour. An instant-read thermometer inserted into the center should read at least 165 degrees F (74 degrees C).