When a routed unit rallies, does it face the enemy or the way it was running?

By Newman55f9, in Battles of Napoleon

When a routed unit rallies, does it face the enemy or the way it was running?

Newman55f9 said:

When a routed unit rallies, does it face the enemy or the way it was running?

A unit that rallies can adopt any facing it likes, as I understand it.