NSW allows protests with up to 500 people