fix baserule manager