Add generic Makefile.rules

Remove duplication of Makefile.includes and move the base into Makefile.rules, generic for all stm32 examples.

Some testing to the flashers is needed

ISSUES:
generic flasher code in current version doesn't work (needs to add some specific parameters)