Very much agree with your assertion, but unfortunately the code for siege AI is very very limited and its pretty much impossible to get the AI to behave properly in sallies. Its been improved a bit, but its still very vulnerable to ranged attacks, especially if it does not have ranged units itself (if it does, it will send those forward to attack you)