Every assignee by endorsement or other writing, of a policy of insurance against in whom the property in the subject insured shall be absolutely vested at the date of assignment, shall have transferred and vested in him all rights of suit as if the contract contained in the policy has been made with himself: