An update to my idea. I have a syntax for the "set" command from BOBR:
The condition (optional) follows ":-" like in Prolog. All the logical placeholders are declared with the class (in the example above X has class "place"). The condition in the example above is:
I imagine I will write an engine in Java that resolves the condition. This engine will be included in the Java code created by BOBR.