I actually just tweaked your mod to do it (after taking a look at 'sweeper tool', which was the only one I could find, besides AAI Warden, that did what I wanted). Turns out just changing
if (entity.name == "rock-huge" or entity.name == "rock-big" or entity.name == "sand-rock-huge" or entity.name == "sand-rock-big") and entity.type == "simple-entity" then
to
if ((entity.name == "rock-huge" or entity.name == "rock-big" or entity.name == "sand-rock-huge" or entity.name == "sand-rock-big") and entity.type == "simple-entity") or
(name == "item-on-ground" and entity.type == "item-entity") then
was all that was needed. Woot!