Iran sets rules for releasing frozen funds