The bolts actully are threded through to the oil gallery just below the valve cover gasket. If you remove the valve cover and one of these bolts you will be able to see where they come through to the top of the head. To seal them up just use some silicone sealer as described by Achipmunk.
Tom