Tidied up allowed globals in rule snippets.