I don't follow any one rule, I throw everything in but protein, like meat and cheese, that goes to the chickens and the dog.
I save all the veggie peels and coffee grinds from the diner and if I think about it I throw in the paper towels I use to dry my hands, it all goes home with me every day and into the compost pile. To that I add garden cuttings, some weeds, cut grass, leaves and the used wood shavings from the chicken coop.
I have three compost areas next to each other, one was an existing large box. Art made two more compost areas from wood pallets that he got for free from a large box store. I fill each compost area and if all goes well I should have ready to use compost from the first box I filled. Once I empty that box I start filling it up again by the time it's full the second box should have ready to use compost.
The compost pile has to get pretty hot to kill the weeds and break down all the green, leaves and paper so we sometimes cover it with black plastic...again Art got it for free from a large box store, that really gets it cooking and during summer we might wet it a little bit because if it gets too dry it may not "cook" very well.
You might think the compost is stinky but it's not, it just has an earthy dirt smell which is not all that unpleasant, so there you have it, pretty easy and a great way to keep garbage out of the landfill. When the compost is ready I rototil it into my garden beds in the spring and top dress my veggie patch during the summer.
The finished compost is full of big fat worms and is ready for my veggie garden.