Learning Neural Traffic Rules