The rocks ain't gonna move, but the planet does (relative to the stars). My take on it would be to take multiple exposures, then composite them in software. If necessary you could do a 30 minute (or more) exposure on the rocks, and mix it with a 30 second exposure on the sky. Just a thought. I know a bit about photography, and a bit about torches, but exactly nothing about using torches for nighttime photography, so take this with a pinch of salt!