A contingent fee agreement shall be in writing signed by the client and shall state the method by which the fee is to be determined, including the percentage or percentages that shall accrue to the lawyer in the event of settlement, trial or appeal, litigation and other expenses for which the client will be liable whether or not the client is the prevailing party, and whether such expenses are to