Add support for substitution_filter business logic