Moved learning rules into the TPM file instead of NKEP file.