Several rule additions, small improvements. A test suite was added. Compatible with pacman 3.5 database.