You could smother the fires with slaughtered chickens. Then the rioters would be happy because they would get to eat roast chook, then they'd get sick and die from the bird flu, and there would be no more rock throwing.
Thus you'd kill two birds with one stone.