When it comes to things like rice, you can do either—you can use the cooked numbers, or the raw numbers. Just don't confuse them with each other.
For instance, 42 grams of UNcooked rice has about 0g fat, 2g pro, 34g carbs.
100 grams of COOKED rice has the same macros.
So, just go with...