added test cases for error code 0 and started on readRules