ApplianceGroup.__getitem__ and Appliance.matches implemented and tested.