Refactorization of componente relation extraction and postprocessing with rules Performance improvements.