Nightclubs agree to new rules to curb violent incidents