Generate namespace info when required rather than caching it in Rules

This gives correct information when @import-ed files are updated