A mild-slope formulation based on Weyl rule of association with application to coastal wave modelling