rules to build dep