[build] Add explicit rules

This closes #30.