Local expectation rule: Allow static get-only properties

Makes it possible to have an assertion with an expectation like
Encoding.UTF8.

Brings down the self-awareness score from 12 to 9.