Court to rule on Wednesday on matric results saga