Based on observation, I would say this is the default AI stack for enemy ships:
<add_ai type="CHASE_STATION" value1="100000" name="L25" />
<add_ai type="CHASE_PLAYER" value1="3000" value2="3000" name="L25" />
<add_ai type="AVOID_BLACK_HOLE" value1="6000" name="L25" />
<add_ai type="CHASE_ANGER" name="L25" />
It would seem that an enemies priority is not to get caught in a black hole, so they will avoid them above all else (unless you taunt them into making a grave error). Their primary aim seems to be the elimination of stations. Should your ship approach too close though, they break off and attack you, giving that immediate threat priority.
Whether the order is correct or not, I do not know. From what I know, the AI commands added last are the ones that are executed first, so they chase anger over avoiding a black hole, they will avoid a black hole over chasing a player, and they will chase a nearby player, over going after a station.