Change ruleList func to access property via dot over bracket