Fixed some rules problems
Minor code formatting changes
Now object status is updated only when a executed=true plugin's reply is received. This behavior can be turned in a 'send and forget' adding a 'send-and-forget=true' property in the command