Updated rules and everything! A* added.

It fucking works! Almost. Not enough rules yet, but it manages to complete almost all levels.