Factor out DefaultRule method on Makefile