Preheat your oven to 375°F (190°C).
In a skillet, heat olive oil over medium heat.
Sauté diced onion and garlic until translucent.
In a bowl, mix cooked rice, sautéed onion, pecans, cranberries, thyme, and rosemary.
Season chicken breasts with salt and pepper.
Carefully cut a pocket in each chicken breast.
Stuff the mixture into each chicken breast pocket.
Secure with toothpicks if necessary.
Place stuffed chicken in a baking dish and drizzle with olive oil.
Bake for 40-45 minutes, or until chicken is cooked through.