The Rule of Hats