Framework to filter (extract,transform,evaluate) data based on rules