Add a test that shows that there is a single global namespace for rules.

No functionality change. I couldn't find an existing test for this.