Preliminary Predictive Clustering Rules implementation

Signed-off-by: masphei <masphei@gmail.com>