Greatly refactored arm/handle combination decision module