[fr] conversion: regex -> graph rules