Detection of Health-Related Problems of People with Dementia from Lifestyle Wearables: A Rule-Based Approach