Dependency discovery and data recovery of conditional functions based on association rules