Add rules and fix install form