added evaluation of commands using rule-system, and a test file