Several changes in Xgjoin

Implementation of instantiateFilter.
Concatenation of string element to calculate resource of RJT.
Variable res is not built with copy() anymore.