Minor fixes and improvements

Do not rebuild user project if re is not given.
Rules reorganization to make this possible.
Remove python test.