decomose the rules for each model type