F(R)-gravity from Killing tensors. (11th March 2016)