The flowers will need to root into something, so even a thin layer of soil over the rocks would be an effective measure.