corrected errors in dojo_rules