Cook the rice according to the instructions on the packet.
Season the chicken legs with salt, pepper and paprika powder and turn them in flour. Heat the oil in a pan and fry the legs until golden on both sides. Dice the onion and add and fry briefly. Deglaze with the broth and lemon juice. Dice the garlic and add it. Cut the bell pepper into strips, drain the corn and add both to the pan. Simmer for 25 minutes on low heat, then season with salt, pepper and paprika to taste.