add makerule, add include mode to typesize