Do Machine Learning Models Learn Statistical Rules Inferred from Data?