Adds the concept of flags to cards.
Sweeping now uses flags for passive effects.