Chances are your rice wasn't digested yet by the time you got home and rode? Exercising immediately before or after eating carbs makes it more likely your body will turn them into glycogen than other uses, but it's a big "it depends."
If you're asking from a weight management perspective, only the calories matter. It's like how you can earn money by working or you can win it gambling, and there's a list of difference in what that takes and maybe how it's taxed, but all dollars have the same spending power.