ruby filter: multi-instance support
Merge pull request #501 from nikicat/fix-ruby-filter

ruby filter: multi-instance support