Robert Kubica has been handed a drive in the Citroen World Rally Car for the season-ending Wales Rally GB next month.