support counter unless pattern
move CounterUnless before Counter as it is more specific
match patterns in a case insensitive way
replace groovy code with effect in card script