Fractal properties of rain, and a fractal model