add message_filter.rb and spec file