Court to rule on Israeli barrier