I don't understand what totalReject is doing or why resourceAndOperationTransformer needs to be registered at this level. I don't think the root resource needs any transformation. So it could be:

ransformersSubRegistration registration = subsystem.registerModelTransformers(ModelVersion.create(1, 3), ResourceTransformer.DEFAULT);