What determines the right-of-way rules?