Adding to AD Group when Employee is disabled

Hello 

I have a little problem with active directory group assignment.

I want the disable users group to be added to the active directory account when the user is disabled.

I also want it to be removed from all other groups except this group.

What should I do ?