I really think we need a list or a notation in the feat descriptions letting everyone clearly know which ranged feats can be used on things like spell rays.
Perhaps simply an added asterisk in the feat list and a footnote declaring "these feats can be applied to attacks with rays"
Otherwise, I have to keep explaining why "precise shot" can work with your ray of enfeeblement, but "rapid shot" cannot.