Work on rule parsing

Signed-off-by: Ken Barber <ken@bob.sh>
Add target options to rule method

Signed-off-by: Ken Barber <ken@bob.sh>
Fix rule tests

Signed-off-by: Ken Barber <ken@bob.sh>
Get tests to pass

Signed-off-by: Ken Barber <ken@bob.sh>