The Palestine Action Group are fighting the New South Wales government's expanded protest laws in court, ahead of a planned rally this afternoon.