Add water to a pot, cover with a lid and put on high heat. When water comes to a boil add rice, salt, mix well, reduce heat to a medium-low and cover with lid. Meanwhile, wash, cut the skin off and clean the insides of the pumpkin and grate it using a food processor or a hand grater and add to a rice pot together with sugar right away, mix well. Make sure that pumpkin mixture cooks at least 10 min together with rice.