Adaptive Clustering Rule Engine