Similar Items: Using weakest application conditions to rank graph transformations for graph repair