Optimal control of Rydberg lattice gases. (2nd August 2017)