I just checked the link shared. it has only one set of rule which for checked state. you need to add one more rule for not checked state. so the final rules should be looks like the below
{
"wccpf_DzJmdvj52JIE": [
{
"expected_value": [
"add credits"
],
"field_rules": {
"wccpf_additional_credit": "show",
"wccpf_additional_name": "show",
"wccpf_website_link": "show",
"wccpf_add_role_1": "show",
"wccpf_add_name_1": "show",
"wccpf_link_1": "show",
"wccpf_add_role_2": "show",
"wccpf_add_name_2": "show",
"wccpf_link_2": "show",
"wccpf_credit_3": "show",
"wccpf_name_3": "show",
"wccpf_link_3": "show",
"wccpf_credit_4": "show",
"wccpf_name_4": "show",
"wccpf_link_4": "show",
"wccpf_credit_5": "show",
"wccpf_name_5": "show",
"wccpf_link_5": "show"
},
"logic": "has-options"
},
{
"expected_value": [
"add credits"
],
"field_rules": {
"wccpf_additional_credit": "hide",
"wccpf_additional_name": "hide",
"wccpf_website_link": "hide",
"wccpf_add_role_1": "hide",
"wccpf_add_name_1": "hide",
"wccpf_link_1": "hide",
"wccpf_add_role_2": "hide",
"wccpf_add_name_2": "hide",
"wccpf_link_2": "hide",
"wccpf_credit_3": "hide",
"wccpf_name_3": "hide",
"wccpf_link_3": "hide",
"wccpf_credit_4": "hide",
"wccpf_name_4": "hide",
"wccpf_link_4": "hide",
"wccpf_credit_5": "hide",
"wccpf_name_5": "hide",
"wccpf_link_5": "hide"
},
"logic": "has-not-options"
}
]
}