Rule 54. Judgments; Costs
(a) Definition; Form. Judgment as used in these rules includes a decree and any order from which an appeal lies. A judgment shall not contain a recital of pleadings, or the record of prior proceedings.
(b) Judgment upon Multiple Claims or Involving Multiple Parties. When more than one claim for relief is presented in an action, whether as a claim, counterclaim, or third-party claim, or when multiple parties are involved, the court may direct the entry of a final judgment as to one or more but fewer than all of the claims or parties only upon an express determination that there is no just reason for delay and upon an express direction for the entry of judgment. In the absence of such determination and direction, any order or other form of decision, however designated, which adjudicates fewer than all the claims or the rights and liabilities of fewer than all the parties shall not terminate the action as to any of the claims or parties, and the order or other form of decision is subject to revision at any time before the entry of judgment adjudicating all the claims and the rights and liabilities of all parties.
(c) Demand for Judgment. A judgment by default shall not be different in kind from or exceed in amount that prayed for in the demand for judgment. Except as to a party against whom a judgment is entered by default, every final judgment shall grant the relief to which the party in whose favor it is rendered is entitled, even if the party has not demanded such relief in the party's pleadings.
(d) Costs. Except when express provision therefor is made either in a statute of the United States or in these rules, costs shall be allowed as a matter of course to the prevailing party in any action not dismissed for lack of subject matter jurisdiction, unless the court otherwise directs; but costs against the United States shall be imposed only to the extent permitted by law. See Rule 77.4.