Well lets take a look at vanilla:
and now mine:
At first glance those 2 in red stand out as likely to affect the gate taking. I'd try the vanilla values there.
BTW I can't really work out what is happening in your screen shot.... the ladders are down but the unit is inside??? A second AI unit took down the ladder???
what the hell is going on there! ...like what is that siege tower doing back there? ... That's funny, I'm seeing a ton of stuff in that screenshot that I've honestly never seen. Maybe some XBAI pathfinding stuff... really not sure.
Also don't worry about making negative criticisms, I want to hear them 
And half the time with BAI it's a case of choosing one stupid behaviour over another... so yes, ultimately it's pretty stupid 
Back to the issue, once it had captured the gate with vanilla, did it then attack or sit there?
edit:
Noticed that the lines in green on mine definately do not work, that was the tinkering I refered to earlier. Where they are they cause no problems but they have no effect. Put into a place where they have an effect they cause problems... I tried sticking it in </capture-plaza> and boom! They froze after taking the gate... or so it seemed. Either way, if it was working I would hear the units shouting 'yes sir' every 20s or so and I'm not hearing that.
edit:
Just had an instance of the AI assigning a unit to a wall it couldn't fit on and that unit froze. Otherwise it's all going fine...
It occurs to me that you could try PMing Germanicu5, I don't know if you've tried his AI but if it has the same issue he might be interested in having your save (since he writes BAI for SS).