Move declaration of Rulebase from Rules to CoreSyn
This allow HscTypes to import CoreSyn rather than Rules, which makes module loops easier to avoid. At one point in my recent travels this was important; I'm not sure it's so important now, but it's a good thing anyway. In any case CoreRule is defined in CoreSyn, so this move make sense.
Showing with 17 additions and 14 deletions