added pivot relationships

Signed-off-by: Ninjaparade <yazjallad@gmail.com>
updated packages controller to provide packages to the form

Signed-off-by: Ninjaparade <yazjallad@gmail.com>
updated the rules in the repo

Signed-off-by: Ninjaparade <yazjallad@gmail.com>