Cook the rice pilaf-style as usual: fry in lard until translucent, pour in twice its volume of water, salt, and cover and steam until tender, about 15-18 minutes.
Steam the sauerkraut with the chopped onion in lard (in which the sugar was first lightly caramelized), covered, until tender, about 15-20 minutes.
Dice the pork and fry in paprika-seasoned, onion-flavored lard until tender, about 20-25 minutes.
Fry half of the smoked sausage; slice the other half raw into thin rounds.
Grease a baking mold and line it: put a layer of the fried sausage slices on the bottom, then enough steamed rice to cover it.
Mix the remaining rice with the steamed sauerkraut, the fried pork, and the rest of the sausage slices.
Pour this mixture into the mold and smooth the top.
Set the mold in a roasting pan with water (a water bath) and bake in a preheated oven at 180°C for about 45 minutes.
Let it rest a few minutes after baking, then turn out onto a platter and serve sliced.
Based on: Malatinszky Fanny szakácskönyve (a classic Hungarian cookbook), modernised. Calories and protein are estimated.