There are simple, cheap and commercially available rain diverters
such as this
one: http://www.theraincatchers.com.au/products.asp?cat=5 that divert
the first "flush" of rainfall off the roof .....Then, that debris-free water
can be filtered through a low-cost sand/charcoal filter, and finally through a
bacterial filter if desired...