A question regarding the level of worldly participation for a buddhist monk I noticed some buddhist monks spend a lot of their time teaching and giving dhamma talks, while other monks spend minimal time on these things. 

I was wondering if there are any rules in the monastic code for monks regarding how much time a monk should spent on teaching?
The main role of the monastic community is to preserve the Buddha's teaching, but I don't think that the Buddha gave a prescription on how exactly to do that. It's been left to each community to set rules of teaching and the level of community interaction. I don't think you're going to find one magic answer. In my tradition, you're expected to have some mastery over the subject matter before giving Dharma talks. It also helps to practice the Eightfold Path enough to where you are without reproach when you enter the community with instruction. 

I don't believe it's wrong to participate and reach out to the community at any time. It just may not be helpful. Maybe like this post ;-) Then again, mastery is hard to see from the outside. 

"Before Enlightenment chop wood, carry water.  After enlightenment chop wood, carry water."