Mail - change or apply group

I am looking for a script that I can run as a rule that will allow me to choose a Smart Rule “Sender is member of Group”.

I want to eventually create a smart group that is all unread mail but does not contain the Group “stores” so email from non-urgent senders don’t end up in this folder.

thanks for any help you can give

cindy in indy