Depositions may be taken in such cases in the same manner and under the same rules as in an action at law in the district court, but no cause for taking the depositions need be shown.