Remove unused variable

Remove an unused variable

Change-Id: I80405dd0a49bd1e7c657f3b50c09cfee3e97c4c5
Fix rules variable name for methods

Like in all ndepend included rules, the variable name for method is `m`
and not `method`.

We insert a piece of code using m whereas our default use use `method`.

Rename it in the default rule file.

Change-Id: Idd68011f4ff89cd42f6438be9d32340bad4fad86
Make sure file is closed

Makes sensor crash on windows because file is already used.

Change-Id: I89c80d1345e29528758f0efba20cf7882e5a37be
Generate valid ndproj file

Ndproj file was wrong because:
- rules need to be included in a group
- need to add an attribute to keep xml reports

Change-Id: I5dcf8a017da732673931723981441b3b667d766e