Thats a very good idea and it will work great!
Here are some tips:
--Floss on top, then lava rock. Water feeds in at the top and trickles down through the media and out the outflow pipe/tubing. This is what is known as trickle or wet/dry filtration.
--Lava rock is perhaps the cheapest, best media for biological filtration. Crush into pea sized chunks for the most amount of area for colonization of beneficial bacteria. Be sure to rinse it VERY, VERY well before using in the filter. Lava rock slivers are VERY sharp and will cause gill and/or intestinal problems. Once well rinsed, is completely safe.
--filter floss or pre-filter sponge is what is termed as mechanical filtration, not lava rock.
--Try to keep the outflow to the pond a larger diameter than the inflow pipe/tubing so that clogging/overflowing does not become a problem.
--You could very well eliminate the floss in the filter if you were to employ a sponge pre-filter on the intake that sits in the pond. This makes for cleaning easy as you do not have to even tougc the filter to rinse the sponge/floss.
Hope this helps!
Paul