What are you removing the rocks from, a lawn/field or a driveway?
The issue is that you would need to drag the dirt uphill over a narrow grate, and then capture the remaining rocks.
What depth do you plan to remove the rocks from in situ?
Is the soil wet or dry, clay or sand?