Actually I realize the explanation above may sound rather confusing.
There is a simpler way then, which will have the same effect as lusteds AI if it always does the schiltrom, simply copy and paste the part where it has this code. The code below is taken from my file not his so note you must take that part from his config_ai_battle.xml file specifically, as that part may be different.
Code:
<attack-brace>
<distance>75</distance>
<time-to-change-formation>3.0</time-to-change-formation>
<time-to-phalanx>3</time-to-phalanx>
<time-to-schiltrom>3</time-to-schiltrom>
<time-to-shield_wall>3</time-to-shield_wall>
</attack-brace>
This code is just to give you an idea of what to look for in his, you can use the control+f function that notepad and notepad++ have to find the attack-brace part.