Add a test that shows that there is a single global namespace for rules.
Merge pull request #683 from nico/ruletest

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