Stayors may move against their principals and costayors in the same way, and subject to the same rules and regulations, as sureties.