Add build rules