Man committed to stand trial after alleged rifle attack in Eaglehawk