<?xml version="1.0" encoding="us-ascii"?><InstanceReport xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><Version>2.4.0.8</Version><ReportLongName>0011 - Disclosure - 5. RBMS Management Agreement</ReportLongName><DisplayLabelColumn>true</DisplayLabelColumn><ShowElementNames>false</ShowElementNames><RoundingOption /><HasEmbeddedReports>false</HasEmbeddedReports><Columns><Column FlagID="0"><Id>1</Id><IsAbstractGroupTitle>false</IsAbstractGroupTitle><LabelSeparator>

</LabelSeparator><CurrencyCode /><FootnoteIndexer /><hasSegments>false</hasSegments><hasScenarios>false</hasScenarios><MCU><KeyName /><CurrencySymbol /><contextRef><ContextID>From2011-07-01to2012-06-30</ContextID><EntitySchema>http://www.sec.gov/CIK</EntitySchema><EntityValue>0001020477</EntityValue><PeriodDisplayName /><PeriodType>duration</PeriodType><PeriodStartDate>2011-07-01T00:00:00</PeriodStartDate><PeriodEndDate>2012-06-30T00:00:00</PeriodEndDate><Segments /><Scenarios /></contextRef><UPS /><CurrencyCode /><OriginalCurrencyCode /></MCU><CurrencySymbol /><Labels><Label Key="CalendarSupplement" Id="0" Label="12 Months Ended" /><Label Key="Calendar" Id="1" Label="Jun. 30, 2012" /></Labels></Column></Columns><Rows><Row FlagID="0"><Id>1</Id><IsAbstractGroupTitle>true</IsAbstractGroupTitle><LabelSeparator>

</LabelSeparator><Level>1</Level><ElementName>ROBK_NotesToFinancialStatementsAbstract</ElementName><ElementPrefix>ROBK_</ElementPrefix><IsBaseElement>false</IsBaseElement><BalanceType>na</BalanceType><PeriodType>duration</PeriodType><IsReportTitle>false</IsReportTitle><IsSegmentTitle>false</IsSegmentTitle><IsCalendarTitle>false</IsCalendarTitle><IsEquityPrevioslyReportedAsRow>false</IsEquityPrevioslyReportedAsRow><IsEquityAdjustmentRow>false</IsEquityAdjustmentRow><IsBeginningBalance>false</IsBeginningBalance><IsEndingBalance>false</IsEndingBalance><IsReverseSign>false</IsReverseSign><FootnoteIndexer /><Cells><Cell FlagID="0" ContextID="" UnitID=""><Id>1</Id><IsNumeric>false</IsNumeric><IsRatio>false</IsRatio><DisplayZeroAsNone>false</DisplayZeroAsNone><NumericAmount>0</NumericAmount><RoundedNumericAmount>0</RoundedNumericAmount><NonNumbericText /><FootnoteIndexer /><CurrencyCode /><CurrencySymbol /><IsIndependantCurrency>false</IsIndependantCurrency><ShowCurrencySymbol>false</ShowCurrencySymbol><DisplayDateInUSFormat>false</DisplayDateInUSFormat></Cell></Cells><ElementDataType>xbrli:stringItemType</ElementDataType><SimpleDataType>string</SimpleDataType><IsTotalLabel>false</IsTotalLabel><UnitID>0</UnitID><Label>Notes to Financial Statements</Label></Row><Row FlagID="0"><Id>2</Id><IsAbstractGroupTitle>false</IsAbstractGroupTitle><LabelSeparator>

</LabelSeparator><Level>2</Level><ElementName>ROBK_RbmsManagementAgreementTextBlock</ElementName><ElementPrefix>ROBK_</ElementPrefix><IsBaseElement>false</IsBaseElement><BalanceType>na</BalanceType><PeriodType>duration</PeriodType><IsReportTitle>false</IsReportTitle><IsSegmentTitle>false</IsSegmentTitle><IsCalendarTitle>false</IsCalendarTitle><IsEquityPrevioslyReportedAsRow>false</IsEquityPrevioslyReportedAsRow><IsEquityAdjustmentRow>false</IsEquityAdjustmentRow><IsBeginningBalance>false</IsBeginningBalance><IsEndingBalance>false</IsEndingBalance><IsReverseSign>false</IsReverseSign><FootnoteIndexer /><Cells><Cell FlagID="0" ContextID="From2011-07-01to2012-06-30" UnitID=""><Id>1</Id><IsNumeric>false</IsNumeric><IsRatio>false</IsRatio><DisplayZeroAsNone>false</DisplayZeroAsNone><NumericAmount>0</NumericAmount><RoundedNumericAmount>0</RoundedNumericAmount><NonNumbericText>&lt;p style="font: 8pt/normal Times New Roman, Times, Serif; margin: 0"&gt;&amp;#160;&lt;/p&gt;

&lt;p style="font: 8pt/normal Times New Roman, Times, Serif; margin: 0"&gt;On May 28, 2010, the Company, RBL and an officer of the Company
formed RBMS, a Mississippi limited liability company, to own, develop and manage the operations of a dockside vessel-based casino
in Gulfport, Mississippi. RBMS&amp;#146;s initial strategy was to secure an existing gaming vessel, move the vessel to a Gulfport
site, and build land assets on that site to support the gaming vessel.&lt;/p&gt;

&lt;p style="font: 8pt/normal Times New Roman, Times, Serif; margin: 0"&gt;&amp;#160;&lt;/p&gt;

&lt;p style="font: 8pt/normal Times New Roman, Times, Serif; margin: 0"&gt;On October 27, 2010, RBMS and the Company, as manager, entered
into a management agreement, effective as of April 1, 2010 for a period of 99 years.&amp;#160;&amp;#160;The Company, as manager, would
manage all of the operations of the gaming facility.&amp;#160;&amp;#160;The management fee was payable;&amp;#160;&amp;#160;(1) $200,000, per month,
(2) then upon commencement of the gaming operations, $250,000, per month, and (3) then achieving certain earnings, as defined,
$300,000, per month.&amp;#160;&amp;#160;The Manager is entitled to appoint two directors of the five directors on the RBMS Board of Directors.&lt;/p&gt;

&lt;p style="font: 8pt/normal Times New Roman, Times, Serif; margin: 0"&gt;&amp;#160;&lt;/p&gt;

&lt;p style="font: 8pt/normal Times New Roman, Times, Serif; margin: 0"&gt;In response to the equity investor, RBMS changed its strategy
toward the construction of an entirely land-based casino.&amp;#160;&amp;#160;On June 20, 2011, the Company agreed to amend its management
agreement with RBMS to facilitate a $15.0 million equity financing for the Gulfport Project.&amp;#160;&amp;#160;Under the new terms of
the proposed agreement, the Company will receive from the closing of the equity financing to the opening date of the casino, a
management fee of $200,000, per month, not to exceed $1,000,000, in total, prior to the opening of the casino.&lt;/p&gt;

&lt;p style="font: 8pt/normal Times New Roman, Times, Serif; margin: 0; text-indent: 0.5in"&gt;&amp;#160;&lt;/p&gt;

&lt;p style="font: 8pt/normal Times New Roman, Times, Serif; margin: 0"&gt;As of June 30, 2011, in conjunction with the sale of the Big
Easy Gaming Vessel (Note 9) and commencement of the Gulfport Project, the Company made an adjustment related to its investment
in RBMS. The Company recognized 46.6% of the loss of RBMS as of June 30, 2011, reclassified the accrual of approximately seven
months of management fees due from RBMS, and eliminated intra-entity revenues and expenses totaling $452,020.&amp;#160;&amp;#160;As a result,
the Company reported $517,980 in management revenue for the year ended June 30, 2011.&amp;#160;&lt;/p&gt;

&lt;p style="font: 8pt/normal Times New Roman, Times, Serif; margin: 0"&gt;&amp;#160;&lt;/p&gt;

&lt;p style="font: 8pt/normal Times New Roman, Times, Serif; margin: 0"&gt;As of June 30, 2012, in accordance with ASC 810, &amp;#147;Consolidation&amp;#148;,
Management evaluated and determined that the variable interest holders of RBMS now lack the direct and indirect &amp;#160;ability to
make decisions&amp;#160;about the entity&amp;#146;s activities and have determined that that the Company is the primary beneficiary of
RBMS.&amp;#160;&amp;#160;As a result, the financial statements of RBMS have been included in the accompanying consolidated financial statements
of the Company.&lt;/p&gt;</NonNumbericText><FootnoteIndexer /><CurrencyCode /><CurrencySymbol /><IsIndependantCurrency>false</IsIndependantCurrency><ShowCurrencySymbol>false</ShowCurrencySymbol><DisplayDateInUSFormat>false</DisplayDateInUSFormat></Cell></Cells><ElementDataType>nonnum:textBlockItemType</ElementDataType><SimpleDataType>na</SimpleDataType><ElementDefenition>6. RBMS Management Agreement</ElementDefenition><ElementReferences>No definition available.</ElementReferences><IsTotalLabel>false</IsTotalLabel><UnitID>0</UnitID><Label>5. RBMS Management Agreement</Label></Row></Rows><Footnotes /><IsEquityReport>false</IsEquityReport><ReportName>5. RBMS Management Agreement</ReportName><MonetaryRoundingLevel>UnKnown</MonetaryRoundingLevel><SharesRoundingLevel>UnKnown</SharesRoundingLevel><PerShareRoundingLevel>UnKnown</PerShareRoundingLevel><ExchangeRateRoundingLevel>UnKnown</ExchangeRateRoundingLevel><HasCustomUnits>true</HasCustomUnits><IsEmbedReport>false</IsEmbedReport><IsMultiCurrency>false</IsMultiCurrency><ReportType>Sheet</ReportType><RoleURI>http://rotateblack.com/role/RbmsManagementAgreement</RoleURI><NumberOfCols>1</NumberOfCols><NumberOfRows>2</NumberOfRows></InstanceReport>
