Set up stuff I need for the rule rearangement