Has anyone found a way to make the rotation work in the RTW engine?

The closest I've come to a decent version is to have the first line of Hastati engage in defense. When the Hastati tire, I move the Principles in in attack. When the Principles start to physically engage the enemy, I flip the Hastati into attack and the Principles into defense. Then I order the Hastati to run out and rest.