Adding goal rules test and moving source code to source packages...