Fixed couple bugs in build-rule.
First version of mapping rules to use for Tractor demo.