Working NoDuplicateSequence rule