Add primary key to INFERENCE_RULE Refs #20038