fix
add licence
add ruling command