use eval for parsing rules
listen change event for rules