Reduced the amount of redundant AI definitions

as discussed in #4543