Police fired rubber bullets and threw gas bombs to disperse a crowd of predominantly civil servants, outside Rio de Janeiro's legislative assembly on Tuesday.