Learn Rules Framework