Make the rioters pay for the damage.
Put them in prison work gangs. Make them clean it up, scrub grafitti, haul trash and ashes and unload rebuilding supplies.