[template] support 'eval' filter on XCL >= 2.2