Changed: some designs for ImportRule and GenerateRule