Kevin Federline gets to keep all the gifts Britney Spears bought him during their two-year marriage - but is forbidden from writing a tell-all book about their union .