improving rule loading