Add kryo registration for Perceptron and TargetMean in AMRules