added special invalid value, that must be handled by rules
added invalid checks to all rules
updated mod_time operation
simplified undefined vars processing
new rules to track valid/invalid
bug in NotEquals template, added invalid template
added CheckedInterval rule, that turns invalid outside of bounds
fixed bug with handling invalid sensors in CheckedInterval
fixed null handling for getattribute functions
some code analysis