594. Mortgagee's claim for declaration of title.

If the mortgagee is claiming enforcement by foreclosure or sale of a charge created by deposit of title deeds1, or to enforce by sale a charge or equitable lien, he may claim in the first instance a declaration that he is to be considered as a mortgagee, or that he is entitled to a charge or lien, and will then go on to claim an account and the enforcement of the security