It should really be AYLOP (posek)
Many shailas are beyond what a shul Rabbi can answer but not all of them know that.
100%, that should be common sense. To only ask someone who is competent to answer.
And the Rav as well should know when to say that he should ask someone else if he isn't sure... I Once asked my Rav (a Baki in many different Inyanim) a Shaila in Choshen Mishpat, he thought abt what I asked, and told me that he prefers I ask someone who is a baki in Choshen Mishpat...