Move @external rules to top level since GSS expects them there.

fixes #89
This technique will fix also the issue #78