Well, it's controlled by the flavors of the techs in the XML. Some of it, especially the Great Prophet bulbs are pretty intuitive. But the only real way to know is to learn it by trial and error. Also the BUG mod gives you some information on this, but I've never used that section of the interface before because if I am bulbing I'm following a specific strategy.