use coffee-script
implement rule function (see #4)