At first many word combinations were possibly repetitive and inconsistent.
The examples of the chimp and the child Vincent show how rules may have became fixed: optional orders became strong preferences which later became rules.
The original preferences were probably on pre-linguistic ‘mind-sets’ => explains why so many languages show similarities