Dragons appear every five minutes, starting on the hour, and which ones you get is entirely random.
Your best shot at a rare is logging on in the small hours, when fewer people are competing for the same drops.