Pattern rule for mftraining