Fix hacking rule 302 and enable it

H302: import only modules.

Change-Id: I9f18abdc5f52f0a2ee3b8dbb7479dac8de3a0a7a
Merge "Fix hacking rule 302 and enable it"