It's not primarily rules based as that would be impossible to scale. Where rules are helpful is to provide principles for when a longer or shorter phrase is chosen.
Optimising the tradeoff between more frequent repetition of vocabulary versus better quality grammar examples is where a lot of the work is.
Optimising the tradeoff between more frequent repetition of vocabulary versus better quality grammar examples is where a lot of the work is.