One criteria seems to be the number of ads. Generally, if there are a small number of ads, there will not be a blue box. The more ads there are, the more liklihood of a blue box.
I would imagine relevance would have something to do with it as well. If none of the ads are very relevant, they're not going to put any in a blue box.
[google.com...]