added maven 3 annotation and fixed rules selection

this depends on #10