To get the cobble to be pulled from a chest/barrel etc for auto-crafting you can use a ME Storage Bus.
As for the excess to go into a trash can you could use itemducts and set the duct going to the trash can as 'dense' mode so after the barrel is full it will go to the trash can.
I hope this...