What rights did the neutral countries had during war?

They can tray with any nation as long that its not war materials.