Disarm z-wave motion sensor

Then you’ve got two choices:

Fast and limited:
Create a Switch Item (e.g. SonoACasa) and turn it ON when home and OFF when you leave. In your rule check the state and do whatever only when OFF, maybe like so:

rule "motion alarm"
when
	Item TheSensor changed to ON
then
	if (SonoACase.state==OFF){
        //do stuff
        }
end

Advantage: easy and implemented in a few minutes
Downside: if you forget to push the Button…i won’t work right

Time consuming but lots of additional features:
Implement Presence detection
A very good example is here:

Advantage: Works automatically and you can do much more cool stuff. Like turn on lights automagically when you come home in the dark, have your house greet you…

Disadvantage: Initially, much more work. Could take a couple of hours until running smoothly. But totally worth the effort IMHO

HTH,
-OLI