I am trying to write a rule for a vessel arrived at a berth. The vessel when arrived at a berth needs to get assigned a set of \'k\' resources, where \'k\' depends on the le