How to do what? The Mkgmap page shows how to use the application. If you want to see how the rendering rules work, then check out the default templates that come with Mkgmap and the Help wiki pages. Please be more specific to what you want to have explained.