add rules.mk