Each rule object should be preceded by identifier. Try this:
"rules": {
"rule-screen-on": {
"name": "Turn Screen ON",
"condition": {
"item": "11xveyt45581f1syghbvtxoi79.Tablet01_Screen#switch.state",
"operator": "eq",
"value": "on"
},
"action": {
"type": "turn-on-screen"
}
},
"rule-screen-off": {
"name": "Turn Screen OFF",
"condition": {
"item": "11xveyt45581f1syghbvtxoi79.Tablet01_Screen#switch.state",
"operator": "eq",
"value": "off"
},
"action": {
"type": "turn-off-screen",
"binding": null,
"value": null
}
}
},
Also, make sure there are no errors shown in the editor (red/yellow highlights) for JSON syntax. Since the config won’t be applied if there are errors.