hadoop rule extraction