Spin-wave frequency discretization in submicron rectangular prisms