On Groupoid Graded Rings