Judge expected to rule on challenge to 'anti-Alberta' activi