Surface rainfall processes as simulated in a cloud-resolving model