Added a factory for creating filter PmAttributes
merge v0.5