(1) A claim may be assigned, except where its nature does not so permit.
(2) Where the parties have declared a contrary intention, a claim shall not be assigned; provided, such declaration of intention, cannot be set up against a third person acting in good faith.