A question about a LL parser



The question comes from the following URL

http://en.wikipedia.org/wiki/LL_parser

They parse ( 1 + 1 ), using the following grammar rules.

1. S → F
2. S → ( S + F )
3. F → 1

On the first '(' from the input stream and from the 'S' stack, they
apply rule 2. How do they know it's rule 2 and say not rule 1?
.