Fix rules in demo