mining rules