some Rules were not shown in your answer e.g. C->A,B