Well of course that depends on the compressor used and wether it's hardware or a plugin etc and you need to experiment but, just start box standard. Insert it on the main rap vocal and wind the threshold up. As the vocal drops in volume, keep turning up the makeup(output) volume to compensate...