Preheat your oven to 350°F. Lightly grease a 2-quart casserole dish and set it aside. Bring a large pot of water to a boil for the broccoli and melt the butter in a medium saucepan over medium-low heat. Add the diced onion and cook until softened and translucent. Stir in the flour, garlic powder, and black pepper. Cook for another 2 minutes, stirring frequently.
Gradually pour the milk into the saucepan while whisking continuously. Continue cooking over medium heat until the mixture becomes thick and bubbly. Keep whisking to prevent lumps from forming.
Remove the saucepan from the heat. Stir in the dry mustard powder, paprika, cream cheese, and 1½ cups of shredded cheddar cheese. Mix until the cheese melts and the sauce becomes smooth and creamy. Taste and adjust the salt and pepper if needed.
Add the broccoli florets to the boiling water and cook for 1–2 minutes, just until they turn bright green but remain crisp. Drain thoroughly to remove excess water.
In a large bowl, combine the cooked rice, blanched broccoli, and cheese sauce. Stir until everything is evenly coated. Transfer the mixture to the prepared casserole dish and spread it into an even layer. Sprinkle the remaining cheddar cheese over the top.
Bake uncovered for 35 minutes, or until the cheese is melted, bubbly, and lightly browned. Let the casserole rest for a few minutes before serving.