Propagation of electromagnetic waves on quasiperiodic rare-earth multilayers