add direct support for rules in mlmake