Add rules.mk that works for simple projects

Signed-off-by: eaterofpies <eaterofpies@example.com>