Violence in Rio ends in 30 deaths