Philosophy of language

A speaker understands a well-formed sentence they have never heard before. Which idea best explains how a finite vocabulary and a system of rules can support this ability?