Rice and potatoes both have starch, which converts them to sugars once the body uses them. So they are sugars/carbs no matter how you look at them.
However if you are not on a carb diet, Rice and potatoes are good for you since potatoes are very high in potassium, and rice is very high in calcium.