filter_chain: make filter_chain_AppendFromString() iterative