Adding criteria and ability to apply it to any TupleCollection implement...

...ation