The extended class sequential rule model is called ExCSR hereinafter.
if there are one more than such rules, then choose the one with the least Distance-Constraint value; Step 4: R' = R'  {r}; R = R -{r}; Step 5: D = D-{instances satisfied by r}; Step 6: if D is empty, then return R'; Step 7: For each rR, update support(r) with regards to the updated D; Step 8: go to step 2.