I think all the AIs, Rainbow included, completely ignore all other variables (like your remaining cards) when it comes to decking and stop the multi-draw at five cards. Which is really dumb, yes... doesn't take a genius to tell that you're well past all-in at that point.