Mark Ramprakash hits out against Gloucestershire