Document:

Exhibit 10.1

                           WAIVER OF RIGHTS AGREEMENT

     This  Waiver of Rights Agreement (the "AGREEMENT") is made and entered into
                                            ---------
as of July 17, 2006, to be effective as of June 30, 2006 (the "EFFECTIVE DATE"),
                                                               --------------
by  and  between  XA,  INC.,  a  Nevada  corporation  ("XA")  and  ALPHA CAPITAL
                                                        --
AKTIENGESELLSCHAFT,  STONESTREET  LIMITED PARTNERSHIP, WHALEHAVEN FUNDS LIMITED,
GREENWICH GROWTH FUND LIMITED and GENESIS MICROCAP INC. (the "PURCHASERS"), each
individually  a  "PARTY"  and  collectively  the  "PARTIES."
                  -----                            -------

                              W I T N E S S E T H:
                              - - - - - - - - - -

     WHEREAS,  pursuant  to  a  Subscription  Agreement  entered  into  with the
Purchasers  on  June  30,  2004  (the  "SUBSCRIPTION  AGREEMENT"),  XA  sold the
                                       -------------------------
Purchasers  an aggregate of $2,500,000 in two tranches of Convertible Promissory
Notes  (the  "NOTES"  or the "PURCHASER NOTES"), with an aggregate of $1,250,000
             -------         -----------------
sold  on  June 30, 2004, which amount  was due and payable on June 30, 2006, but
has  since been reduced to $1,020,000, due to the conversion of a portion of the
Notes  into  shares  of  XA's common stock (not including any accrued and unpaid
interest,  the "FIRST TRANCHE") and an aggregate of $1,250,000 sold on September
                -------------
13,  2004, which amount was due and payable on September 13, 2006, but has since
been reduced to $1,012,500, due to the conversion of a portion of the Notes into
shares  of XA's common stock (not including any accrued and unpaid interest, the
"SECOND  TRANCHE")  as  well as 5,000,000 Class A Warrants to purchase shares of
 ---------------
XA's  common  stock  (the  "PURCHASER  WARRANTS");
                            -------------------

     WHEREAS,  XA failed to repay the amount owed under the First Tranche of the
Notes  to  the  Purchasers  on  June  30,  2006  (the  "DEFAULT");
                                                        -------

     WHEREAS,  the  Purchasers provided XA notice of XA's Default and Purchasers
intend  to  make the Second Tranche immediately due and payable on or about July
11,  2006  (the  "ACCELERATION");  and
                  ------------

     WHEREAS,  XA  has  obtained  a  non-binding  term  sheet (the "TERM SHEET,"
                                                                    ----------
attached  to  this  Agreement  as  EXHIBIT A) from a third-party which provides,
                                   ---------
among  other  items,  that  it will provide XA with $1,250,000 in funding in the
form  of a Senior Secured Promissory Note (the "FUNDING NOTE") and Warrants (the
                                                ------------
"FUNDING  WARRANTS,"  and  collectively  with  the Funding Note, the "FUNDING").
 -----------------                                                    -------

     NOW,  THEREFORE,  in  consideration  for the promises and pledges contained
below  and other good and valuable consideration, which consideration XA and the
Purchasers  acknowledge  receipt  of, and the premises and the mutual covenants,
agreements,  and  considerations  herein  contained, the Parties hereto agree as
follows:

     1.   PAYMENT  BY  XA  OF  THE  FIRST  TRANCHE.
          -----------------------------------------

          XA  agrees  to  repay  the  Purchasers  the  full amount due under the
          First  Tranche, including any accrued and unpaid interest at such time
          as XA receives the Funding pursuant to the Term Sheet (the "PAYMENT").
                                                                      -------

          XA  agrees  that  the  Payment  will  be  made to the Purchasers on or
          prior  to  July  27,  2006  (the  "PAYMENT  DATE").
                                             -------------

<PAGE>

     2.   PURCHASER'S  WAIVER  OF  THE  DEFAULT,  THE  RESET  AND  ANTI-DILUTION
          ----------------------------------------------------------------------
          RIGHTS  OF  THE  NOTES, PURCHASER WARRANTS AND SUBSCRIPTION AGREEMENT.
          ----------------------------------------------------------------------

          In  connection  with  XA's  entry  into the Term Sheet, and the timely
          making  of the Payment on or prior to the Payment Date (as provided in
          (1)  above),  the  Purchasers  agree  to:

          a)   Waive the  Default;

          b)   Waive the  Favored  Nations  Provision,  Section  12(c)  of  the
               Subscription  Agreement;  Section  3.4 of the Purchaser Warrants;
               Section  2.1(c)D  of  the  Purchaser  Notes; as well as any other
               reset,  anti-dilution  or  re-pricing  rights in connection with:

                    i)   the Funding;  and

                    ii)  certain  other  securities  issuable  by  XA,  which
               securities are described in greater detail on the Term Sheet; and

          c)   Waive the  Redemption  provisions  of  the  Subscription
               Agreement  (Section  7.7)  and the Purchaser Notes (Section 4.8),
               and  to  allow  the  prepayment of the outstanding balance of the
               Second  Tranche  at any time prior to September 13, 2006, without
               penalty.

          Collectively  a),  b)  and  c)  above  are referred to as the "FUNDING
          WAIVER."                                                       -------
          -------

     3.   PURCHASER'S  WAIVER  OF  THE  DEFAULT  AND  THE  ACCELERATION.
          --------------------------------------------------------------

          The  Purchasers  agree  to  waive  the  Acceleration  and  contingent
          upon  XA's  timely  making  of the First Tranche payment agree that XA
          shall  have  until  September  13,  2006, the original due date of the
          Second  Tranche,  to repay the Second Tranche; provided, however, that
                                                         --------  -------
          in the event that XA fails to make the required Payment on or prior to
          the  Payment  Date  or the Second Tranche on or prior to September 13,
          2006:

          a)   The Funding  Waiver  shall  be  automatically  and  retroactively
               revoked;  and

          b)   All of  the  Purchasers'  rights  and  remedies  under  the
               Subscription  Agreement,  Purchaser  Notes and Purchaser Warrants
               will  automatically  be  restored, other than those rights waived
               pursuant  to  the December 29, 2004, Waiver Agreement between the
               Parties;  and

          c)   Any Notices  of  Default  previously  delivered  to  the  Company
               shall  be reinstated as of the date originally given, without the
               requirement  of further notices relative to the subject matter of
               the  notices  previously  given.

<PAGE>

     4.   MISCELLANEOUS.
          --------------

          (a)  Assignment.  All  of  the  terms,  provisions  and  conditions of
               ----------
               this  Agreement  shall  be  binding  upon  and shall inure to the
               benefit  of  and  be  enforceable by the Parties hereto and their
               respective  successors  and  permitted  assigns.

          (b)  Applicable  Law.  This  Agreement  shall  be  construed  in
               ---------------
               accordance  with  and  governed  by  the laws of the State of New
               York,  excluding  any  provision  of  this  Agreement which would
               require  the  use  of  the  laws  of  any  other  jurisdiction.

          (c)  Entire  Agreement,  Amendments  and  Waivers.  This  Agreement
               --------------------------------------------
               constitutes  the  entire  agreement  of  the  Parties  hereto and
               expressly supersedes all prior and contemporaneous understandings
               and  commitments,  whether  written  or oral, with respect to the
               subject  matter  hereof. No variations, modifications, changes or
               extensions  of  this Agreement or any other terms hereof shall be
               binding upon any Party hereto unless set forth in a document duly
               executed  by  such  Party  or  an authorized agent or such Party.

          (d)  Waiver.  No  failure  on  the  part  of  any Party to enforce any
               ------
               provisions of this Agreement will act as a waiver of the right to
               enforce  that  provision.

          (e)  Section  Headings.  Section  headings  are  for  convenience only
               -----------------
               and  shall  not define or limit the provisions of this Agreement.

          (f)  Effect  of  Facsimile  and  Photocopied  Signatures.  This
               ---------------------------------------------------
               Agreement  may be executed in several counterparts, each of which
               is an original. It shall not be necessary in making proof of this
               Agreement or any counterpart hereof to produce or account for any
               of the other counterparts. A copy of this Agreement signed by one
               Party  and  faxed  to  another Party shall be deemed to have been
               executed  and  delivered  by  the  signing  Party  as  though  an
               original.  A photocopy of this Agreement shall be effective as an
               original  for  all  purposes.

     [Remainder of page left intentionally blank.  Signature page follows.]

<PAGE>

     This Agreement has been executed by the Parties on the date first written
above, with an Effective Date as provided above.

XA, INC.
--------

/s/ Joseph Wagner
-----------------------
JOSEPH WAGNER
CHIEF EXECUTIVE OFFICER

                                   PURCHASERS:
                                   -----------

ALPHA CAPITAL AKTIENGESELLSCHAFT      STONESTREET LIMITED PARTNERSHIP
--------------------------------      -------------------------------

BY: /s/ Konrad Ackerman               BY: /s/ Michael Finkelstein
   ----------------------------          ------------------------------
ITS:                                  ITS: President
   ----------------------------           -----------------------------
PRINTED NAME: Konrad Ackerman         PRINTED NAME: Michael Finkelstein
             ------------------                    --------------------

WHALEHAVEN FUNDS LIMITED              GREENWICH GROWTH FUND LIMITED
------------------------              -----------------------------

BY: /s/ Evan Schemanauer              BY: /s/ Derek Wood
   ---------------------                  --------------------------
ITS: CFO                              ITS: Director
    -------------------                   -------------------------
PRINTED NAME: Evan Schemanauer        PRINTED NAME: Derek Wood
             -----------------                     ---------------------

GENESIS MICROCAP INC.
---------------------

BY: /s/ Wilhelm Unger
    -----------------------
ITS: Director
     ----------------------
PRINTED NAME: Wilhelm Unger
             ---------------------

<PAGE>SECOND AMENDMENT TO SHAREHOLDER RIGHTS AGREEMENT

          THIS SECOND AMENDMENT TO SHAREHOLDER RIGHTS AGREEMENT
(this "Amendment"), dated as of July 24, 2006, is between Ryan's
Restaurant Group, Inc., a South Carolina corporation (the
"Company"), and American Stock Transfer & Trust Company, a New
York corporation (the "Rights Agent").

          WHEREAS, the Company and the Rights Agent are parties
to a Shareholder Rights Agreement, dated as of February 18, 2005,
and a First Amendment to Shareholder Rights Plan, dated as of
March 17, 2005 (collectively, the "Rights Agreement"); and

          WHEREAS, pursuant to Section 27 of the Rights
Agreement, the Company and the Rights Agent desire to further
amend the Rights Agreement as set forth below;

          NOW, THEREFORE, the Rights Agreement is hereby amended
as follows:

     1.   Amendment of Section 1

     .

          A  new subsection (ii) is added to the end of Section 1
of  the  Rights  Agreement, which shall appear immediately  after
subsection (hh) and which shall read as follows:

          "(ii)  "Merger Agreement" shall mean the
          Agreement and Plan of Merger, dated July 24,
          2006, by and among the Company, Buffets,
          Inc., a Minnesota corporation (the "Parent"),
          and Ryan's Restaurant Group, Inc., a South
          Carolina corporation and a wholly-owned
          subsidiary of the Parent (the "Merger
          Subsidiary"), as the same may be amended from
          time to time.

     2.   Amendment of Section 7

     .

          Paragraph  (a) of Section 7 of the Rights Agreement  is
amended  by  deleting the word "or" immediately preceding  clause
(iv)  thereof and by adding the following new phrase  immediately
following clause (iv) thereof: "or (v) immediately prior  to  the
Effective Time (as defined in the Merger Agreement)."

     3.   Addition of New Section 35

     .

          The Rights Agreement is amended by adding a Section  35
thereof which shall read as follows:

          "Section 35.  Exception For Merger Agreement.
          Notwithstanding any provision of this
          Agreement to the contrary, neither a Section
          11(a)(ii) Event, Section 13 Event,
          Distribution Date, Share Acquisition Date nor
          an Adjustment Event shall be deemed to have
          occurred, none of the Parent, the Merger
          Subsidiary (each as defined in the Merger
          Agreement) or any of their Affiliates or
          Associates shall be deemed to have become an
          Acquiring Person, and no holder of any Rights
          shall be entitled to exercise such Rights
          under, or be entitled to any rights pursuant
          to, any of Sections 3(a), 7(a), 11(a) or 13
          of this Agreement, in any such case by reason
          of (a) the approval, execution or delivery of
          the Merger Agreement or any amendments
          thereof or (b) the commencement or, prior to
          termination of the Merger Agreement, the
          consummation of any of the transactions
          contemplated by the Merger Agreement,
          including the Merger (as defined in the
          Merger Agreement)."

     4.   Effectiveness

     .

          This Amendment shall be deemed effective as of the date
hereof  as  if  executed by both parties  hereto  on  such  date.
Except  as  amended hereby, the Rights Agreement shall remain  in
full force and effect and shall be otherwise unaffected hereby.

     5.   Miscellaneous

     .

          This  Amendment shall be deemed to be a  contract  made
under  the  laws  of  the State of South  Carolina  and  for  all
purposes  shall  be governed by and construed in accordance  with
the  laws  of such state applicable to contracts to be  made  and
performed  entirely  within such state.  This  Amendment  may  be
executed in any number of counterparts, each of such counterparts
shall for all purposes be deemed to be an original, and all  such
counterparts  shall  together constitute but  one  and  the  same
instrument.   If any term, provision, covenant or restriction  of
this  Amendment  is held by a court of competent jurisdiction  or
other  authority  to  be invalid, illegal, or unenforceable,  the
remainder of the terms, provisions, covenants and restrictions of
this Amendment shall remain in full force and effect and shall in
no way be affected, impaired or invalidated.

     IN  WITNESS  WHEREOF, the parties hereto  have  caused  this
Amendment to be duly executed as of the date set forth above.

                              RYAN'S RESTAURANT GROUP, INC.

                              By:    /s/Charles D. Way
                              Name:  Charles D. Way
                              Title:  Chairman and CEO

                              AMERICAN STOCK TRANSFER & TRUST
                              COMPANY

                              By:    /s/Isaac J. Kagan
                              Name:  Isaac J. Kagan
                              Title:  Vice President

Source: [{"source": "alea-institute/alea-institute/kl3m-data-edgar-agreements/train-00107-of-00352.parquet"}, [{"source": "alea-institute/alea-institute/kl3m-data-edgar-agreements/train-00107-of-00352.parquet"}]]