Add a rule for detection of global variables