The regularity game: Investigating linguistic rule dynamics in a population of interacting agents