Agreement on rule of law would need approval from all 27 member states and European parliament