Fix ConsiderUsingStaticTypeRule rule for Hash
Merge pull request #2498 from flibitijibibo/hash-statictyperule

Fix ConsiderUsingStaticTypeRule rule for Hash