Added resource filters
Merge pull request #21 from roaet/resource_filter

Added resource filters