Function bindInferCurrentTypeRule