How do I create a flag so each user gets to set one flag on one instance of a content type? I want to create a non-global flag which each user can use to 'flag' one (and only one) instance of a specific content type.

I have a view which displays a list of content with fields, including a flag link.  I would like to set up my flag (or a rule with a flag) so that if a user clicks on a flag link, all other flags that that user has set (for that specific flag type) are reset.

This will be used for a 'favorite' type of flag, which can only be set on one instance of a specific content type.
Here is how I eventually solved this

Create a rule that does the following actions.


Loop through a list of all content that the flagging user has flagged (with the specified flag.)
Unflag ALL of the nodes in this list
Re-flag the node that triggered the event (F\flagged-node)