feat(rtrim): create filter