Which one?
The outer one is required to identify the stylesheet, and the position might change as different sheets are added/removed, so it can't be fixed.
Likewise, the inner loop is required to identify the declaration, which again is not necessarily in a fixed position.