Changed: design for import and generaterule controls