The functionality that I needed is:
Based on the destination IP and port addressed the packets within a VRF should be forwarded to another VRF. So policy based routing within a VRF should be used. According to http://www.cisco.com/en/US/products/sw/iosswrel/ps5207/products_feature_guide09186a00806996d5.html it is not possible to have policy based routing for a VRF based interface.
Is there another solution?
Could it work with IOS-XR?