The Rayleigh approach to the rheology of compressible granular flow