This paper described a method for constructing expert systems in which control information is automatically built from the actions of an expert trainer. This control information consists of sequencing and goal information consists of sequencing and goal information which is extracted from the trainer by a 'planning expert', and generalized by a 'gereralization expert'. A set of extensions to the OPS5 system is dedcribed which facilitates the implementation of this approach within OPS5. These extensions permit the use of meta productions to affect the conflict resolution procedure; the control information is expressed as a set of such meta productions. Prelininary experiments with the system are described.