Text this: The two clocks and the innovation window: When and how generative models learn rules