Implemented 3 levels of rule generation based on topic frequencies <Karthik>