Fix glossary rule bug

Fixes glossary bug, where rules can't get glossary hash.