agus rug mé ar bhosca . . . and I "grabbed" a box of Weetabix. Rug mé is past tense, first person, of the verb beir - - catch.
Some verbs in Irish require prepositions after them and before their object. So rug me ar - - I caught / grabbed . . . For other examples of verbs and their following prepositions click here.