Target literal replacement rewrite to expressions