Hi Ahmed,
To move, you need to go to vsphere console -> Networking -> Service Composer -> Security group
If you look at the group you created, there is a column with "Virtual Machines". Does it show 0 or it shows the correct number of affected/member VMs ?
If it shows 0, it means the syntax or the dynamic membership logic might be incorrect ?
Thanks,